#include <51func.h>
#include <shadow.h>
int main(int argc, char *argv[])
{
    // sudo ./1_getspnam liao
    ARGS_CHECK(argc,2);
    struct spwd * ppswd = getspnam(argv[1]);
    printf("encrypted password = %s\n", ppswd->sp_pwdp);
    return 0;
}

